SmashBalloon\Reviews\Common\Feed D

Total Complexity 170
Dependencies 8
Dependents 5
Total lines 619
Lines of code 454
Logical lines of code 259
Comment lines 6
Methods 38
Properties 9

Methods 38

Method Rating Maintainability Complexity Lines of code
filter_posts()
D
29
69 79
api_request()
A
46 11 36
hydrate_sources()
A
50 10 30
update_posts_cache()
S
52 6 23
get_set_cache()
S
54 5 21
get_post_set_page()
S
56 5 18
init()
S
59 5 13
update_header_cache()
S
59 5 13
cache_single_posts_from_set()
S
57 4 16
__construct()
S
55 3 21
sort_array_byrating_and_date()
S
64 4 9
posts_from_db()
S
59 3 14
add_source_to_post_set()
S
61 3 12
is_last_page()
S
62 3 11
update_header_cache_from_source()
S
55 2 21
provider_for_provider_id()
S
67 3 8
is_single_manual_review()
S
78 2 3
get_db_lang()
S
68 2 7
hydrate_single_manual_review()
S
60 1 15
get_remote_posts()
S
71 2 6
get_remote_header_data_old()
S
68 2 7
get_remote_header_data()
S
69 2 7
sort_array_byrating()
S
69 2 6
sort_array_bydate()
S
69 2 6
get_posts_for_moderation()
S
66 1 8
get_settings()
S
82 1 3
get_errors()
S
80 1 3
get_feed_id()
S
82 1 3
set_errors()
S
80 1 3
add_error()
S
71 1 6
get_header_data()
S
82 1 3
get_feed_style()
S
82 1 3
set_posts()
S
81 1 3
get_posts()
S
82 1 3
should_check_media()
S
82 1 3
set_header_data()
S
81 1 3
update_cache()
S
72 1 5
is_init_wpml()
S
82 1 3